<script setup>
  import { printLabel1, createSquare } from '@/tyscript/3_接口';
  let myObj = { size: 10, label: "size 10 object" };
  const label = printLabel1(myObj);
  let square = createSquare({ color: "black" });
</script>

<template>
  <main>
    <p>printLabel1输出: {{ label }}</p>
    <p>createSquare返回值: {{ square }}</p>
  </main>
</template>
